package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgAddedUsers;
import com.ygqh.baby.po.YgAddedUsersExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgAddedUsersMapper {
    int countByExample(YgAddedUsersExample example);

    int deleteByExample(YgAddedUsersExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgAddedUsers record);

    int insertSelective(YgAddedUsers record);

    List<YgAddedUsers> selectByExample(YgAddedUsersExample example);

    YgAddedUsers selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgAddedUsers record, @Param("example") YgAddedUsersExample example);

    int updateByExample(@Param("record") YgAddedUsers record, @Param("example") YgAddedUsersExample example);

    int updateByPrimaryKeySelective(YgAddedUsers record);

    int updateByPrimaryKey(YgAddedUsers record);
    
    int countSuper(@Param("q") String q, @Param("startTime")Date startTime, @Param("endTime")Date endTime);
    
    List<YgAddedUsers> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q, @Param("startTime")Date startTime, @Param("endTime")Date endTime);
    
}



